﻿<%@ Page Title="" Language="C#" MasterPageFile="~/management/management.Master" AutoEventWireup="true" CodeBehind="performance.aspx.cs" Inherits="Hotel2.management.performance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<script type="text/javascript">
  window.onload = function () {
    var chart = new CanvasJS.Chart("chartContainer",
    {

      title:{
      text: "Ticket Sales for Event Name",
      },
       data: [
      {
        type: "line",

        dataPoints: [
        { x: new Date(2013, 00, 1), y: 10 },
        { x: new Date(2013, 00, 15), y: 12 },
        { x: new Date(2013, 01, 1), y: 25 },
        { x: new Date(2013, 01, 15), y: 30 },
        { x: new Date(2013, 02, 1), y: 40 },
        { x: new Date(2013, 02, 15), y: 45 },
        { x: new Date(2013, 03, 1), y: 60 },
        { x: new Date(2013, 03, 15), y: 67 },
        { x: new Date(2013, 04, 1), y: 70 },
        { x: new Date(2013, 04, 15), y: 100 },
        { x: new Date(2013, 05, 1), y: 150 },
        { x: new Date(2013, 05, 15), y: 200 },

        ]
      },


      ]
    });

    chart.render();
  }
  </script>
 <script type="text/javascript" src="js/canvasjs.min.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="mainTitle" runat="server">Events</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="subTitle" runat="server">Performance for Event Name</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="mainText" runat="server">
<div id="chartContainer" style="height: 500px; width: 100%;">
  </div>
</asp:Content>
